package com.bjpowernode.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 客户表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TCustomer {
    /**
    * 主键，自动增长，客户ID
    */
    private Integer id;

    /**
    * 线索ID
    */
    private Integer clueId;

    /**
    * 选购产品
    */
    private Integer product;

    /**
    * 客户描述
    */
    private String description;

    /**
    * 下次联系时间
    */
    private Date nextContactTime;

    /**
    * 创建时间
    */
    private Date createTime;

    /**
    * 创建人
    */
    private Integer createBy;

    /**
    * 编辑时间
    */
    private Date editTime;

    /**
    * 编辑人
    */
    private Integer editBy;

    /**
     * 一对一关系
     */
    private TClue clueDO;
    private TProductDO productDO;
    private TUserDO ownerDO;
    private TActivityDO activityDO;
    private TDicValueDO appellationDO;
    private TDicValueDO needLoanDO;
    private TDicValueDO intentionStateDO;
    private TDicValueDO stateDO;
    private TDicValueDO sourceDO;
    private TUserDO createDO;
    private TUserDO editDO;
}
